package com.jn.erp.web.api.student.entity;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 报名签约表
 * </p>
 *
 * @author wyp
 * @since 2024-09-29
 */
@Data
  @EqualsAndHashCode(callSuper = false)
    public class TStudentCourse implements Serializable {

    private static final long serialVersionUID=1L;


      @Excel(name ="名称")
      @TableField(exist = false)
      private String name;
      @Excel(name ="电话")
      @TableField(exist = false)
      private String mobile;
      @TableField(exist = false)
      private String gender;
      @TableField(exist = false)
      private String age;

      @Excel(name ="用户id")
      @TableField(exist = false)
      private String userId;

      @Excel(name ="班级名称")
      @TableField(exist = false)
      private String className;

      @Excel(name ="课程名称")
      @TableField(exist = false)
      private String courseName;

      @Excel(name ="跟进人")
      @TableField(exist = false)
      private String counselor;
      @Excel(name ="学管师")
      @TableField(exist = false)
      private String management;
      //剩余课时
      @Excel(name ="剩余课时")
      @TableField(exist = false)
      private Integer remainderLesson;
      //剩余课时正常
      @Excel(name ="剩余课时正常")
      @TableField(exist = false)
      private Integer remainderLessonNormal;
      // 课消金额
      @Excel(name ="课消金额")
      @TableField(exist = false)
      private Integer spendAmount;

      //剩余课消金额
      @Excel(name ="剩余课消金额")
      @TableField(exist = false)
      private Integer remainderAmount;
      @TableField(exist = false)
      private Integer pageSize;

      @TableField(exist = false)
      private Integer pageNum;

      @TableField(exist = false)
      private String teacherId;
      @JsonFormat(pattern = "yyyy-MM-dd")
      @DateTimeFormat(pattern = "yyyy-MM-dd")
      @TableField(exist = false)
      private String startTime;

      @JsonFormat(pattern = "yyyy-MM-dd")
      @DateTimeFormat(pattern = "yyyy-MM-dd")
      @TableField(exist = false)
      private String endTime;

      @Excel(name ="备注")
      @TableField(exist = false)
      private String remark;

  // 续费提醒时间
  private LocalDateTime renewalReminderTime;
}
